package cn.com.surker.enums.system;

import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2022年09月15 9:42
 * @desc
 */
public enum CenterReportDateEnum implements IDescription {

    TODAY(0,"今日"), YESTERDAY(3,"昨天"), WEEK(4,"周"),
    MONTH(1,"月"), YEAR(2,"年");

    private final String description;

    private final Integer code;

    CenterReportDateEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}
